package com.bawei.system.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
@ApiModel("es文档查询参数")
public class EsDocQueryVo extends EsDocBaseVo{

    @ApiModelProperty(value = "query参数,查询自动补全时非必传",required = false)
    private Map<String,Object> queryObj;

    @ApiModelProperty(value = "全文检索关键字",required = false)
    private String keyWords;

    @ApiModelProperty("分页条件")
    private PageVo pageVo = new PageVo();

    @ApiModelProperty("检索字段")
    private List<String> searchFields;

    @ApiModelProperty("高亮字段，必须包含在searchFields，如果不传，默认对searchFields进行全部高亮")
    private List<String> highLightFields;

}
